package org.example.dao;

import org.example.pojo.Major;

import java.util.List;

public interface MajorDao {
    List<Major> queryAll();
    List<Major> queryByCondition(Major major);

    Boolean insert(Major major);
    Boolean delete(int account);
    Boolean update(Major major);
}
